package com.twu.biblioteca.views;

import com.twu.biblioteca.config.Message;

public class MessageView {

    public static void showNotice(Message notice, boolean needBreakLine) {
        if (needBreakLine) {
            System.out.println(notice);
        } else {
            System.out.print(notice);
        }
    }

    public static void showError(Message error) {
        System.err.println(error);
    }
}
